﻿// See https://aka.ms/new-console-template for more information

using Update;

#if DEBUG // Update.exe "https://gitcode.com/gcw_E8NZtOkO/tools/releases/download/2.1.1.6/WorkTool.zip" "WorkTool.exe"
args = [
    "https://gitcode.com/gcw_E8NZtOkO/tools/releases/download/2.1.1.8/WorkTool.zip", 
    "WorkTool.exe",
    "C:\\Users\\Stephen Shu\\AppData\\Local\\Temp\\WorkTool.zip",
    "D:\\Work\\Repository\\GitLab\\Tools\\WorkTool2.0\\bin\\Debug\\net9.0-windows\\WorkTool"
    ];
#endif
await UpdateHelper.RemoteUpdate(args, new CancellationTokenSource().Token);